package skeleton;




import hEdge.HEdge;

import java.awt.geom.Point2D;

import processing.core.PVector;




public class BiSector {
HEdge hEdge;
PVector dir;
boolean concave;

public PVector getP(float t){
	PVector pV=PVector.mult(dir, t);
	return PVector.add(hEdge.getOrg(),pV);
}
public boolean isConcave() {
	return concave;
}
public void setConcave(boolean concave) {
	this.concave = concave;
}
public PVector getDir() {
	return dir;
}
public void setDir(PVector dir) {
	this.dir = dir;
}
public HEdge getHEdge() {
	return hEdge;
}
public void setHEdge(HEdge edge) {
	hEdge = edge;
}
public PVector getOrg() {
	return hEdge.getOrg();
}
public PVector getDest() {
	return PVector.add(getOrg(), dir);
}
}
